package com.weihj;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ConfigurationProperties(prefix = "swagger")
public class SwaggerProperties {
    private boolean enable = true;

    private String group = "webapi";

    private String title = "[set a api title via 'swagger.ui.title']";

    private String description = "[add your api description via 'swagger.ui.description']";

    private String version = "1.0.0";

    private String termsOfServiceUrl = "[set termsOfServiceUrl via 'swagger.ui.termsOfServiceUrl']";

    private String contact = "[set contact via 'swagger.ui.contact']";

    private String license = "License";

    private String licenseUrl = "https://opensource.org/licenses/MIT";

    private String excludes = "/error*";

    private String packagePath = "com.banggood";

}